#include "GraphNode.h"

GraphNode::GraphNode(int id)
{
	m_id = id;
	m_data = nullptr;
	m_visited = false;
	m_isRoom = false;

	m_pos = D3DXVECTOR3(0, 0, 0);
}

void GraphNode::SetID(int id)
{
	m_id = id;
	m_visited = false;
	m_isRoom = false;
}

void GraphNode::SetPos(const D3DXVECTOR3& pos)
{
	m_pos = pos;
}

const D3DXVECTOR3& GraphNode::GetPos() const
{
	return m_pos;
}

bool GraphNode::GetIsRoom() const
{
	return m_isRoom;
}

void GraphNode::SetIsRoom(bool b)
{
	m_isRoom = b;
}

void GraphNode::SetVisited(bool b)
{
	m_visited = b;
}

bool GraphNode::GetVisited() const
{
	return m_visited;
}

//RoomPoint GraphNode::GetRoomPoint() const
//{
//	return m_roomPoint;
//}
//
//void GraphNode::SetRoomPoint(RoomPoint point)
//{
//	m_roomPoint = point;
//}